use rbatis::rbatis::Rbatis;

lazy_static! {
  // Rbatis is thread-safe, and the runtime method is Send+Sync. there is no need to worry about thread contention
  static ref RB:Rbatis=Rbatis::new();
}

pub async fn init_connections(conn_string: &str) {
    RB.link(conn_string).await.unwrap();
}
